package znzz.db.service.impl.extendenum;

import org.springframework.beans.factory.annotation.Autowired;
import znzz.core.dao.IBaseMapper;
import znzz.core.service.impl.SyncServiceImpl;
import znzz.db.dao.iextendenum.IExtendEnumMapper;
import znzz.db.dao.iextendenum.IOptionsMapper;

import java.util.HashMap;
import java.util.Map;

/**
 * 拓展枚举同步Service
 * <p/>
 * Created by wangjwm on 2017/7/6.
 */
public class ExtendEnumImpl extends SyncServiceImpl {

    @Autowired
    private IExtendEnumMapper iExtendEnumMapper;

    @Autowired
    private IOptionsMapper iOptionsMapper;

    @Override
    public IBaseMapper getBaseMapper() {
        return this.iExtendEnumMapper;
    }

    @Override
    public Map<String, IBaseMapper> getSubMappers() {
        Map<String, IBaseMapper> map = new HashMap<String, IBaseMapper>();
        map.put("Options", this.iOptionsMapper);
        return map;
    }


}
